package com.butnet.myframe.service;


/**
 * 服务的基类
 * @author Butnet
 */
public class BaseService {
	/**
	 * 调试标记
	 */
	private static boolean debug = false;
//	/**
//	 * Dao工厂对象
//	 */
//	private IDaoFactory iDaoFactory;
//	
//	public void setIDaoFactory(IDaoFactory daoFactory) {
//		this.iDaoFactory = daoFactory;
//	}
//
//	public IDaoFactory getIDaoFactory() {
//		return iDaoFactory;
//	}

	public boolean isDebug() {
		return debug;
	}

	public void setDebug(boolean debug) {
		BaseService.debug = debug;
	}
}
